if (960 < $diff and $diff > 900)
{
echo "<td  class='b'> $diff3</td>";
}
if ($diff < 900)
{
echo "<td> $diff3</td>";
}
echo"